package com.iframe.provider.service;

import com.alibaba.dubbo.config.annotation.Service;
import com.iframe.api.info.EagleInfo;
import com.iframe.api.service.EagleService;
import org.springframework.stereotype.Component;

@Component
@Service(interfaceClass = EagleService.class,
        version = "1.0",
        timeout = 5000)
public class EagleServiceImpl implements EagleService {

    @Override
    public EagleInfo find(Integer id) {

        EagleInfo eagleInfo = new EagleInfo();
        eagleInfo.setId(id);
        eagleInfo.setName("Hero鹏");

        return eagleInfo;
    }
}



